<!DOCTYPE html>
<html lang="en">
	<head>
		<include file="Index/head" />
	</head>

	<body>
		<include file="Index/header" />

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<include file="Index/menu" />
				
				<div class="main-content">
					<include file="Index/nav" />

					<div class="page-content">
						
							<!-- /**
							 * 右侧页面begin
							 */ -->
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->

								<form class="form-horizontal" role="form" action="{:U('Admin/Product/update_classify_son')}" method="POST">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 新的子类名: </label>

										<div class="col-sm-9">
											<input type="text" name="name" id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" value="{$list.name}" />
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 编号: </label>

										<div class="col-sm-9">
											<input type="text" name="name_tag" id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" value="{$list.name_tag}" />
										</div>
									</div>

									<div class="space-4"></div>
									<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 是否显示: </label>
									&nbsp;&nbsp;&nbsp;
										<select name="state">
										<option value="1">显示</option>
										<option value="0">隐藏</option>
										</select>
									&nbsp;&nbsp;&nbsp;
										<span><?php if($list['state']==1){echo '显示';}else{echo '隐藏';}  ?></span>
									</div>
									<input type="text" hidden="hidden" name="id" value="{$list.id}" />
									<input type="text" hidden="hidden" name="fid" value="{$fid}" />
									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												修改
											</button>									
										&nbsp; &nbsp; &nbsp;
<!-- 										<a href="{:U('Admin/Product/classify_lists_son')}">
											<button class="btn" type="button">
												<i class="icon-undo bigger-110"></i>
												返回
											</button>
										</a> -->
										</div>
									</div>

									<div class="hr hr-24"></div>

									</div><!-- /row -->

								</form>

						</div>
						



							<!-- /**
							 * 右侧页面end
							 */ -->
					</div><!-- /.page-content -->
				</div>

			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<include file="Index/footer" />
	</body>
</html>
